package linked_list;

/**
 * @author 老顾
 * @title: LinkedListTest
 * @projectName java-restudy
 * @email: 1437594522@qq.com
 * @date 2022/11/3 16:45
 */
public class LinkedListTest {

    public static void main(String[] args) {
        List<String> list = new LinkedList<>();

        list.add("a");
        list.addFirst("b");
        list.addLast("c");
        list.printLinkedList();

        list.addFirst("d");
        list.remove("b");
        list.printLinkedList();
    }
}
